package com.zmn.oms.business.interfaces.work.erp;

import com.zmn.common.dto2.ResponseDTO;
import com.zmn.oms.common.exception.OmsBaseException;
import com.zmn.oms.model.dto.work.erp.OrderOnTimeDTO;
import com.zmn.oms.model.dto.work.erp.QuotationPerformanceDTO;
import io.swagger.annotations.ApiParam;

import javax.validation.constraints.NotNull;

/**
 * @author sunlife
 * @date:2021/1/18 11:54 上午
 * description:
 */
public interface ErpPerformanceListBService {
    QuotationPerformanceDTO getQuotationPerformance(@ApiParam("订单号") @NotNull(message = "订单号不能为空") Long orderId, @ApiParam("工单号") @NotNull(message = "工单号不能为空") Long workId) throws OmsBaseException;

    OrderOnTimeDTO getOnTimePerformance(@ApiParam("订单号") @NotNull(message = "订单号不能为空") Long orderId, @ApiParam("工单号") @NotNull(message = "工单号不能为空") Long workId) throws OmsBaseException;
}
